package com.ycg.vue.modules.user.service;

import com.ycg.vue.Entity.UserEntity;
import com.ycg.vue.Entity.Dto.UserDto;
import com.ycg.vue.result.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Description
 * @Author jink
 * @Date 2024/1/5
 */
public interface UserService {
    Result login(UserDto userDto, HttpServletRequest request);

    Result register(UserDto user);

    Result upload(MultipartFile file);

    Result getUser();

    Result updateHeadImage(MultipartFile file);

    Result updatePassword(Map<String, String> pwd);

    Result updateHeadImgByMaterial(Map<String, String> map);
}
